import QtQuick 1.1
import Qt.labs.particles 1.0

Rectangle{
    Particles {
        id:mainParticle
        y: 0
        x: 0
        width: 1
        height: 1
        source: "images/particle.png"
        lifeSpan: 1000
        count: 100
        angle: 0
        angleDeviation: 360
        velocity: 0
        velocityDeviation: 50
    }
    Timer {
    interval: 1000;
    repeat: false;
    running: true;
    triggeredOnStart : false;
    onTriggered: {
        mainParticle.destroy();
    }
}

}

